'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	let {
		name
	} = event;
	let res = await db.collection('小说：' + name).field({
			zhangjienum: true,
			title:true
		})
		.orderBy("num", "asc")
		.get();
	return res;
};